"use strict";
const debug = process.env.NODE_ENV !== "production";
const prefix = window.globalUrl.prefix;
let base = debug ? "/proxy/api/" : prefix + "/api/";
let base2 = debug ? "/proxy/bpi/" : prefix + "/bpi/"; //Business Portraits 企业画像
let base3 = debug ? "/proxy/apiPy/" : prefix + "/apiPy/"; // 产学研检索-潜力合作
let base4 = debug ? "/proxy/" : prefix + "/"; // 产学研检索-潜力合作
const url='https://trend-beta.aminer.cn/spic/expert/v1/'
let baseNew=debug?url:url
const URL = {
  // 人才画像
  people:{
    banks:baseNew+'banks',
    search:baseNew+'search',

  },
  account: {
    login: base + "uaa/auth/login", // 登录
    captcha: base + "uaa/auth/captcha", // 验证码
    logout: base + "uaa/auth/logout", // 退出登录
    userInfo: base + "upms/user/info", // 获取用户信息
    newPassword: base + "upms/user/password", // 修改密码
    // getToken: base + 'auth/jwt/token', // 获取token
    // loginOut: base + 'auth/jwt/loginOut', // 登出
    enforce: base + "auth/jwt/enforce", // 强制登录
  },
  // 首页
  home: {
    feedbackAll: base + "gdt/feedback/all", // 查询用户反馈意见
    apAI: base + "cms/bigmodel/sendMessage", // 智谱ai接口
    addfeedback: base + "gdt/feedback", // 添加用户反馈意见
  },
  // 报告下载
  report: {
    sources: base + "gdt/report/sources", // 期刊报告栏目
    periodicalReportYear: base + "gdt/report/queryPeriodicalReportYear", // 获取年份聚合
    periodicalReportAll: base + "gdt/report/queryPeriodicalReportAll", // 全部期刊
    periodicalReport: base + "gdt/report/queryPeriodicalReport", // 查询报告
    periodicalReportDetails: base + "gdt/report/queryPeriodicalReportDetails", // 查询报告详情
    download: base + "files/minio/bucket/downloadByName", // 报告下载
    download2: base + "files/minio/bucket/download", // 图片回显
    analysisReport: base + "gdt/report/generate", // 技术分析一键生成报告
    analysisReports: base + "gdt/report/reports", // 技术分析报告下载列表
    analysisReportDownload: base + "gdt/report/download", // 技术分析下载报告
    analysisReportDelete: base + "gdt/report/delete", // 技术分析删除报告
  },
  // 情报检索
  IR: {
    homeQueryPage: base + "gdt/energyStrategyAndPolicy/homeQueryPage", // 列表
    patentListPage: base + "gdt/gdtPatent/patentListPage", // 专利
    paper: base + "gdt/gdtPaper/queryPage", // 文献
    paperGetById: base + "gdt/gdtPaper/getById", // 根据id查文献详情
    achievement: base + "gdt/gdtAchievement/queryPage", // 成果
    achievementGetById: base + "gdt/gdtAchievement/getById", // 根据id查成果详情
    gdtProjects: base + "gdt/gdtProjects/queryPage", // 项目库
    gdtProjectsGetById: base + "gdt/gdtProjects/getById", // 根据id查项目库详情
    standard: base + "gdt/gdtStandard/queryPage", // 标准
    standardAdvancedQueryPage: base + "gdt/gdtStandard/advancedQueryPage", // 标准高级检索
    standardGetById: base + "gdt/gdtStandard/getById", // 根据id查标准详情
    comprehensiveQueryPage: base + "gdt/gdtComprehensive/queryPage", // 综合检索
    // overview: base + 'gdt/gdtOverviewInfo/overview', // 综合数据展示
    overview: base + "gdtsearch/overview/count", // 综合数据展示
    overviewExpert: base + "gdt/gdtOverviewInfo/overviewExpert", // 综合数据-相关人才
    searchSuggest: base + "gdt/gdtComprehensive/searchSuggest", // 相关推荐
    getDocByName: base + "gdt/download/getDocByName", // 一键报告
    opinionQueryPage: base + "gdt/energyStrategyAndPolicy/opinionQueryPage", // 综合检索
    queryNounAssociationPage:
      base + "gdt/gdtComprehensive/queryNounAssociationPage", // 综合检索-关键词释义列表
  },
  // 企业画像
  EI: {
    getNews: base + "gdt/company/energy/getNews", // 今日企业看点新闻
    mostNewsCompany: base + "gdt/company/energy/getCompanyByMostNews", // 明星企业
    listPage: base + "gdt/gdtCompany/listPage", // 搜索企业
    document: base2 + "companyes/company/document/count", // 专利概况
    otherDocument: base2 + "companyes/company/document", // 其他情况分析
    newsContent: base + "gdt/company/energy/getNewsContent/", // 新闻详情
    qccToken: base + "uaa/qcc/token", // 新闻详情
  },
  // 技术情报
  TI: {
    // 技术分析
    techniqueDevelopmentTrend:
      base + "gdt/technicalAnalysis/techniqueDevelopmentTrend", // 技术趋势分析
    technologyGlobalDistribution:
      base + "gdt/technicalAnalysis/technologyGlobalDistribution", // 技术全球分布
    technologyEntityRanking:
      base + "gdt/technicalAnalysis/technologyEntityRanking", // 优势研发主体排名
    technicalDomainDistribution:
      base + "gdt/technicalAnalysis/technicalDomainDistribution", // 技术领域分布
    technicalExpertsRanking:
      base + "gdt/technicalAnalysis/technicalExpertsRanking", // 领域权威专家排名
  },
  companyDetail: {
    selectByName: base2 + "company-shard/company/selectByName", // 工商信息分库分表查询 || 公司简介
  },
  company: {
    basicInfo: base2 + "companyes/pack/index", // 获取公司基本信息
    country: base2 + "companyes/company/country", // 获取公司国别
    // getCompanyId: base2 + "companyes/company/keyword", // 获取companyId
    getCompanyId: base + "gdt/gdtCompany/recommendName", // 获取companyId
    superior: base + "patent-city/city/company/list", // 获取优势企业列表
    branch: base + "patent-city/city/company/branch", // 分支机构
    address: base2 + "companyes/company/address", // 获取公司地址
    labelByName: base + "patent-city/city/company/labelByName", // 公司标签
    labelByEid: base + "patent-city/city/company/labelByEid", // 公司标签（用这个）
    opponentAdd: base + "patent-city/kc/opponent/add", //  添加竞争对手
    collectAdd: base + "patent-city/kc/collect/add", // 添加收藏
    patentAnalysis: base2 + "companyes/aggs/patent/analysis", // 优势领域
    opponenDelete: base + "patent-city/kc/opponent/delete", // 删除添加竞争对手
    collectDelete: base + "patent-city/kc/collect/delete", // 删除收藏
    collectPage: base + "patent-city/kc/collect/page", // 企业收藏
    opponentPage: base + "patent-city/kc/opponent/page", // 企业对比
    pkArea: base + "patent-city/pk/area", //pk优势领域接口
    history: base2 + "companyes/company/history", // 曾用名
    buy: base2 + "companyes/aggs/patent/buy", // 转出
    isOpponent: base + "patent-city/kc/opponent/isOpponent", // 获取企业是否添加对比
    isCollect: base + "patent-city/kc/collect/isCollect", // 获取企业是否添加添加收藏
    labelChild: base + "patent-city/label/child",
    getCompanyIndustryInfo:
      base + "patent-city/industry/getCompanyIndustryInfo", //企业详情-技术总览-企业领域分布
    isShangshi: base2 + "companyes/shangshi/isShangshi", // 判断是否是上市公司
    parAnalysis: base + "patent-city/par/analysis", // 科研优势企业列表
    search: base + "patent-city/city/company/search", //  企业检索接口
    searchV2: base + "patent-city/city/company/searchV2", // 企业检索第一次进入初始化
    getIndustryInfoByCompName:
      base + "patent-city/par/getIndustryInfoByCompName", // 获取企业标签
    getRootNode: base + "gdt/energyLabelMap/getRootNode", // 产业归属-根节点
    getChildNode: base + "gdt/energyLabelMap/getChildNode", // 产业归属-子节点
    listPage: base + "gdt/gdtCompany/listPage", // 企业列表
    collectComp: base + "gdt/gdtCompany/collectComp", // 收藏
    cancelCollectComp: base + "gdt/gdtCompany/cancelCollectComp", // 取消收藏
    isCollect2: base + "gdt/gdtCompany/isCollect", // 是否收藏
    portrait: base2 + "companytrade/opinion/portrait", // 获取公司标签
    hotEnterprise: base + "gdt/enterprises/data/page", // 获取热门公司
  },
  collect: {
    add: base2 + "companyes/companykeep/add", // 添加收藏,
    cancal: base2 + "companyes/companykeep/delete", // 取消收藏
    getCollect: base2 + "companyes/companykeep/page", // 我的收藏
    deleteCollect: base2 + "companyes/companykeep/delete", // 删除收藏
    isCollect: base2 + "companyes/companykeep/getcompany", // 当前公司是否收藏
    isCollection: base + "gdt/collection/isCollection", // 是否已收藏
    collectionAdd: base + "gdt/collection/add", // 添加收藏
    collectionPage: base + "gdt/collection/page", // 收藏列表
    collectionDelete: base + "gdt/collection/delete", // 删除收藏
  },
  history: {
    addHistory: base2 + "companyes/searchhistory/add", // 添加浏览历史
    getHistory: base2 + "companyes/searchhistory/page", // 浏览历史
  },
  // 得分
  score: {
    CityScore: base + "patent-city/city/score", //概览页评分
    pkInfo: base + "patent-city/pk/info", // 城市pk接口
    compositeScore: base2 + "companytrade/company/all_score", // 综合指数
    stabilityScore: base2 + "companytrade/company/stability/score", // 企业稳定指数
    riskScore: base2 + "companytrade/company/risk/score", // 投资风险指数
    opinionScore: base2 + "companytrade/opinion/score", // 市场情绪指数
    certificatesList: base2 + "companytrade/opinion/certificates", // 获取资质图标
  },
  //翻译
  translat: {
    translat: base + "gdt/translat/text", // 资讯详情
    translateZh2en: base + "gdtsearch/translat/zh2en", // 翻译
    translatPatentListForZH:
      base + "gdtsearch/patentTranslate/translateTTLABST", // 当专利列表页中 _zh字段为空时，手动点击翻译按钮时，增加翻译该条数据并存入数据库
    translatPatentDetailtForZH:
      base + "gdtsearch/patentTranslate/translatePatent", // 当专利 权力要求 与 说明书中 _zh字段为空时，手动点击翻译按钮时，增加翻译该条数据并存入数据库
  },
  // 搜索
  search: {
    commonSearch: base + "gdtsearch/common/search", // 统一搜索接口
    historyList: base + "gdtsearch/search/history/list", // 历史搜索记录接口
    commonGetInfo: base + "gdtsearch/gdtInfo/getById", //统一详情接口
    commonExportExcel: base + "gdtsearch/common/export/excel", //统一详情接口
    paperPaperRelated: base + "gdtsearch/paper/paperRelated", //文献相关推荐
    recommendById: base + "gdtsearch/paper/recommendById", //文献相关推荐
    overview: base + "gdtsearch/overview/count", // 综合数据展示
    comprehensiveQueryPage: base + "gdt/gdtComprehensive/queryPage", // 综合检索 历史
    searchSuggest: base + "gdt/gdtComprehensive/searchSuggest", // 关键词 - 相关推荐

    companyList: base2 + "companyes/company/invoke?1", // 获取企业信息列表
    companyName: base2 + "companyes/company/invoke", // 搜索公司名称
    companyLogo: base2 + "companyes/company/logo", // 获取公司logo
    check: base2 + "companyes/pack/check?1", // 进入公司页面前先进行数据查询
    check2: base2 + "companyes/pack/check?2", // 进入公司页面前先进行数据查询（请求时不展示加载中）
    generateData: base2 + "companyes/company/info", // 进行数据生成
    queryMap: base, // 技术搜索地图（等高线聚类图）
    // queryList: base+ 'patent-city/city/patent/map', // 技术搜索列表
    findCompanyList: base + "patent-city/city/patent/map", // 获取技术相关公司
    companyKeyword: base2 + "companyes/company/keyword", // 公司关键字查询
    // invoke: base + "gdtsearch/search/invoke", // 搜索结果页
    promptInfo: base + "gdtsearch/prompt/info", // 智能检索快捷提示
    promptSpecialty: base + "gdtsearch/prompt/specialty", // 专业检索快捷提示
    promptSpecialtyAll: base + "gdtsearch/prompt/specialty/all", // 专业检索语法提示
    detail: base + "gdtsearch/search/detail", //获取专利详情
    invokeCountry: base2 + "companyes/account/patent/invokeCountry", //辅助查询国家
    invokejson: base + "gdtsearch/account/patent/invokejson",
    invokeAuxiliaryApplicant:
      base2 + "companyes/account/patent/invokeAuxiliaryApplicant", //辅助查询申请人

    // 其他分析 -- 技术成熟度
    genMaturityCurveData: base + "gdtsearch/paper/genMaturityCurveData",
    patentValueByYear: base + "gdtsearch/patent/patentValueByYear", // 专利技术路线图接口
    saveExportScoring: base4 + "expert_api/tech/v1/create", // 保存专家干预技术成熟度
    wordsRecommend: base4 + "expert_api/tech/v1/words_recommend", // 技术成熟度-搜索词语推荐
    getChainNode: base + "gdtsearch/common/node", //请求产业链下位节点
    searchipcname: base + "gdtsearch/common/searchipcname", //根据IPC 查询 IPC名称接口
    patentAggsTrends: base + "gdtsearch/patentAggs/trends", // 图表分析单独处理 - 专利趋势分析
    legaltrendsTrends: base + "gdtsearch/patentAggs/legaltrends", // 图表分析单独处理 - 法律状态趋势
    antypeTrends: base + "gdtsearch/patentAggs/antypetrends", // 图表分析单独处理 - 申请人类别分析
    countryTrends: base + "gdtsearch/patentAggs/counrtytrends", // 图表分析单独处理 - 国内外趋势分析
    anpartnershipTrends: base + "gdtsearch/patentAggs/anpartnership", // 图表分析单独处理 - 合作关系分析
  },
  show: {
    img0list: base + "gdtsearch/show/img0list", // 获取首图
    pdf: base + "gdtsearch/show/pdf", // pdf全文
    standardpdf: base + "gdtsearch/show/standardpdf", // 标准-pdf全文
    imglist: base + "gdtsearch/show/imglist", // 图片展示
    // scepimg: base + "gdtsearch/show/scepimg", // 获取说明书中的图片
    showPic: base + "gdtsearch/show/pic", // 根据返回的图片字符串对应获取图片
  },
  // 专利动态
  patentDynamic: {
    topicList: base + "gdtsearch/patentDynamic/topicList", // 主题列表
    pnListByTopic: base + "gdtsearch/patentDynamic/pnListByTopic", // 根据主题查询专利列表
  },
  // 专题研究
  monographicStudy: {
    saveOrUpdate: base + "gdtsearch/subject/saveOrUpdate", // 专题新增
    query: base + "gdtsearch/subject/query", // 专题查询
    delete: base + "gdtsearch/subject/delete", // 专题删除
    importSubject: base + "gdtsearch/subject/info/import", // 导入专题库
    searchSubject: base + "gdtsearch/subject/info/search", // 查询专题导入的数据
    addTarget: base + "gdtsearch/subject/info/addTarget", // 在专题库中给专利添加标注
    delTarget: base + "gdtsearch/subject/info/delTarget", // 在专题库中删除专利标注

    paperImportToSubject: base + "gxb/paperSearch/importToSubject", // 按照分页导入专题库-文献
    paperImportToSubject2: base + "gxb/paperSearch/importToSubject2", // 按照勾选项导入专题库-文献
    newsImportToSubject: base + "gxb/newsSearch/importToSubject", // 按照分页导入专题库-资讯
    newsImportToSubject2: base + "gxb/newsSearch/importToSubject2", // 按照勾选项导入专题库-资讯
    subjectPaperPage: base + "gxb/subject/subjectPaperPage", // 文献分页查询
    subjectNewsPage: base + "gxb/subject/subjectNewsPage", // 资讯分页查询
    paperAddTarget: base + "gxb/paperSearch/addTarget", // 添加标注-文献
    newsAddTarget: base + "gxb/newsSearch/addTarget", // 添加标注-资讯
    paperDelTarget: base + "gxb/paperSearch/delTarget", // 删除标注-文献
    newsDelTarget: base + "gxb/newsSearch/delTarget", // 删除标注-资讯
    getPaperById: base + "gxb/subject/getPaperById", // 根据id获取文献详情
    getNewsById: base + "gxb/subject/getNewsById", // 根据id获取资讯详情
    deletepatent: base + "gdtsearch/subject/info/deletepatent", // 删除专题库专利
    delPaperFromSubject: base + "gxb/paperSearch/delPaperFromSubject", // 按照勾选项从专题库删除-文献
    delNewsFromSubject: base + "gxb/newsSearch/delNewsFromSubject", // 按照勾选项从专题库删除-资讯

    subjectPaperArticleYearAgg: base + "gxb/subject/subjectPaperArticleYearAgg", // 专题文献分析-ArticleYear 发布时间走势分析
    subjectPaperAuthorAgg: base + "gxb/subject/subjectPaperAuthorAgg", // 专题文献分析-Author 作者分析
    subjectPaperFromAgg: base + "gxb/subject/subjectPaperFromAgg", // 专题文献分析-From 发表期刊分析
    subjectPaperKeywordsAgg: base + "gxb/subject/subjectPaperKeywordsAgg", // 专题文献分析-Keywords 关键词分析

    subjectNewsPudateAgg: base + "gxb/subject/subjectNewsPudateAgg", // 专题资讯分析-Pudate
    subjectNewsSourceAgg: base + "gxb/subject/subjectNewsSourceAgg", // 专题资讯分析-Source
    subjectNewsSentimentAgg: base + "gxb/subject/subjectNewsSentimentAgg", // 专题资讯分析-Sentiment
    subjectNewsKeywordsAgg: base + "gxb/subject/subjectNewsKeywordsAgg", // 专题资讯分析-Keywords
    subjectNewsTargetsAgg: base + "gxb/subject/subjectNewsTargetsAgg", // 专题资讯分析-Targets
  },
  // 科研人才详情
  detail: {
    personDdetail: base + "patent-city/person/detail", // 科研人才详情
    analysis: base + "patent-city/city/analysis", // 科研产出公开趋势 && 科研产出申请趋势 && 关系图
    patentList: base + "patent-city/city/patent/list", // 科研成果列表
    conversion: base + "patent-city/person/conversion",
  },
  // 能源专家详情
  team: {
    talentsList: base2 + "companyes/pack/index", // 人才列表
    talentsInfo: base2 + "companyes/talents/info", // 人才详情
    // talentsInfo: base + 'gxb/energyExpert2/info', // 人才详情（临时测试用）
    analysis: base2 + "companyes/aggs/patent/analysis", // 技术领域、领域变化分析
    search2: base2 + "companyes/patent/search2", // 专利申请趋势列表
    talentsCooperate: base2 + "companyes/talents/cooperate", // 人际关系图
    // talentsCooperate: base + 'gxb/energyExpert2/cooperate', // 人际关系图（临时测试用）
    talentsCooperateList: base2 + "companyes/talents/cooperate/list", // 人际关系图-获取与企业、机构、人物的关系
    talentsRecord: base2 + "companyes/talents/record", // 科研人才足迹圈、工作履历分析
    // talentsRecord: base + 'gxb/energyExpert2/record', // 科研人才足迹圈、工作履历分析（临时测试用）

    patentSearch2: base2 + "companyes/patent/search2", // 人才详情-研究成果
    patentAnalysis: base2 + "companyes/aggs/patent/analysis", // 专利类型聚类、公开日聚类
    talentsScore: base2 + "companyes/talents/score", // 人才详情-科研星级
    talentsResume: base2 + "companyes/talents/resume", // 获取个人简介
    getPersonOverviewByPid: base + "gdt/energyExpert2/getPersonOverviewByPid", // 根据人员pid获取成果统计信息
    expertPatentPageQuery: base + "gdt/energyExpert2/expertPatentPageQuery", // 科研成果概况-专利
    expertPaperPageQuery: base + "gdt/energyExpert2/expertPaperPageQuery", // 科研成果概况-论文
    expertChengguoPageQuery: base + "gdt/energyExpert2/expertChengguoPageQuery", // 科研成果概况-成果
    expertBiaozhunPageQuery: base + "gdt/energyExpert2/expertBiaozhunPageQuery", // 科研成果概况-标准
    getCompaniesInfoAsCorp: base + "gdt/energyExpert2/getCompaniesInfoAsCorp", // 担任法人
    getCompaniesInfoAsEmployee:
      base + "gdt/energyExpert2/getCompaniesInfoAsEmployee", // 任职单位
    getRelCompaniesAtlas: base + "gdt/energyExpert2/getRelCompaniesAtlas", // 关联企业图谱
    academicFieldAnalysis: base + "gdt/energyExpert2/academicFieldAnalysis", // 学术领域分析
    ciyun: base + "gdt/energyExpert2/ciyun", // 学术关键词云
    // 社会影响力
    expertSocialAttentionTrend:
      base + "gdt/energyExpert2/expertSocialAttentionTrend", // 社会关注度走势、影响力方向、社会舆论倾向
    expertNewPageQuery: base + "gdt/energyExpert2/expertNewPageQuery", // 新闻舆情
  },
  // 地址
  address: {
    regionInfo: base + "gdtsearch/region/info", // 地图坐标，+ 区域ID
    regionCode: base + "gdtsearch/region/code", // 工商地址
  },
  // 科研人才
  person: {
    personSpan: base + "patent-city/person/span", // 产业/学术 双跨 人才
    // expert : base + "patent-city/expert/page"                 // 人才搜索列表
  },
  //城市pk
  pk: {
    personCount: base + "patent-city/person/count", // 人才数量
    batchComapny: base + "patent-city/pk/batchComapny", // 获取优势领域和专利数量
  },
  // 金融
  finance: {
    cityAnalysis: base + "patent-city/city/analysis", // 科创金融饼图
    cityZhiya: base + "patent-city/city/zhiya",
    Get_patent_features: base3 + "scores/Get_patent_features", // 金融评估

    pantentScoreInfo: base2 + "companyes/pantentScore/info", // 获取专利价值信息
    suitCount: base2 + "companyes/suit/getCount", // 获取专利诉讼纠纷值
    patentAssess: base2 + "companyes/patent/assess", // 获取专利指标优、差、平均值
  },
  patent: {
    cityAnalysis: base + "patent-city/city/analysis", // 科研态势图 ||  技术方向饼图
    companyOverview: base + "patent-city/city/company/overview", //  技术方向饼图文字描述
    companyAnalysis: base + "patent-city/city/company/analysis", // 企业趋势
    cooperateCount: base + "patent-city/city/cooperate/count", //   产学合作数量
    activeperson: base + "patent-city/city/active/person",
    appliAndOpenTrend: base + "patent-city/city/analysis", //专利申请和公开趋势  折线图
    ecenomy: base + "patent-city/city/ecenomy", // 优势科创产业接口  扇形图
    comapnyOver: base + "patent-city/city/comapnyOver", // 扇形图对应文字
    // ChangePageAndMap :base + 'patent-city/city/comapny/ChangePageAndMap', // 迁入迁出地图数据
    comapnyChangeMap: base + "patent-city/city/comapnyChangeMap", // 迁入迁出地图数据
    comapnyChangePage: base + "patent-city/city/comapnyChangePage", // 迁入迁出列表接口
    cache: base + "patent-city/city/start/cache", // 后台走缓存
    // current : base + 'patent-city/city/current',

    norm: base + "patent-city/city/norm", // 获取城市指标接口
    regionInfo: base + "gdtsearch/region/info", // 获取四级城市联动列表接口 post
    regionMatch: base + "patent-city/region/match", //  城市模糊匹配接口  post {"keyWorld":"苏州"}
    citySupAgency: base + "patent-city/city/supAgency", // 优势科研机构
    citySupPerson: base + "patent-city/city/supPerson", // 优势科研机构

    basicInfo: base2 + "companyes/patent/invoke", // 获取专利列表
    address: base2 + "companyes/patent/invoke", // 获取地址
    legal: base2 + "companyes/patent/invoke", // 获取法律信息
    pdfString: base2 + "companyes/patent/invoke", // 获取pdfString字段
    openPdf: base + "files/storage/sjs/pdf", // 打开pdf
    invoke: base + "gdtsearch/invoke", // 引证专利 法律信息
    relevant: base2 + "companyes/pantentScore/score/pn", // 相关专利
    // 专利纠纷情况
    // pantentList: base2 + "companyes/patent/search", // 专利列表
    pantentList2: base2 + "companyes/patent/invoke", // 科技地图右键请求接口
    checkedList: base2 + "companytrade/patent/list", // 获取筛选项
    abst: base2 + "companyes/patent/invoke", // 获取摘要
    patentScore: base2 + "companyes/pantentScore/score", // 获取计算分值
    patentLegal: base2 + "companyes/lawstatus/getTransfer", // 转让许可 2020/02/13 zjs updata
    patentType: base2 + "companyes/patent/type", // 获取专利类型 2020/02/13 zjs updata
    lawstatus: base2 + "companyes/lawstatus/getpage", // 专利质押 (深度取) 2020/02/13 zjs updata
    suit: base2 + "companyes/suit/getpage", // 专利纠纷
    softwareCopyright: base2 + "companyes/company/invoke", // 软件著作权信息
    certification: base2 + "companyes/company/invoke", // 资质认证
    translat: base + "gdt/companytrade/translat/text", // 翻译
    search: base2 + "companyes/patent/search2", // 相关技术筛选接口
    SingleCompany: base2 + "companyes/patent/search", //单个公司筛选
    mov: base + "patent-city/city/company/mov", // 新增科创企业数量
    labelAnalysis: base + "patent-city/city/label/analysis", // 行业标签
    pantentScoreCount: base2 + "companyes/pantentScore/count", // 重新获取得分
    // 专利档案
    invokejson: base + "gdtsearch/account/patent/invokejson",
    evaluate: base + "gdtsearch/patent/evaluate", // 专利价值度评估
    valueanalysis: base2 + "companyes/account/valueanalysis", //价值度分析
    valueanalysis2: base2 + "companyes/account/valueanalysis2", //专利价值评估接口
    termExtend: base + "gdtsearch/term/extend", // 获取关键词的扩展词
    aiTermExtend: base + "cms/bigmodel/getSynonyms", // 获取关键词的扩展词
    ipcList: base + "cms/ipc/list", // IPC查询
  },
  // 科技信息
  science: {
    direction: base2 + "companyes/pack/index", // 企业主要技术方向
    companySort: base2 + "companyes/pack/index", // 技术相似（国内、国外、上市公司）
    companyPatentInfo: base2 + "companyes/pack/index", // 企业专利概况
    details: base2 + "companyes/company/patent/details", // 企业专利概况
    companyCheck: base2 + "companyes/pack/check", // 跳转技术对比前对选择对比的公司先进行数据查询
    portrait: base2 + "companytrade/opinion/portrait", // 获取公司标签
    evaluate: base2 + "companyes/score/group/page", // 企业技术综合评分
    semblance: base2 + "companyes/company/semblance", // 产品相似
    public: base2 + "companyes/company/public", // 获取对标上市公司
  },
  // 技术分析
  analysis: {
    patentTrends: base + "gdt/pack/index", // 专利申请趋势
    queryAnalysis: base + "gdt/companytrade/patent/analysis", // picker查询
    queryList: base2 + "companyes/patent/search", // 查询右侧list表格
    queryAggs: base2 + "companyes/aggs/patent/analysis", // 专利申请趋势、法律状态
    patentList: base + "gdt/patent-city/city/patent/list", // 查询右侧list表格
    dateagg: base + "gxb/company/dateagg", // 获取专利申请趋势
    patentPageQuery: base + "gxb/company/patentPageQuery", // 查询右侧list表格
    inagg: base + "gxb/company/inagg", // 发明人专利量
    lssagg: base + "gxb/company/lssagg", // 法律状态
    ipcagg2: base + "gxb/company/ipcagg2", // 机构研究领域变化
    base2: base,
    invoke: base + "gdtsearch/search/invoke", // 聚类
    invoke2: base + "gdtsearch/analysis/invoke", // 聚类
    template: base + "gdtsearch/analysis/dbid_template_tree", // 获取分析模板

    aggsInfo: base + "gdtsearch/aggsInfo/info", // 查询图表配置
    aggsInfoSave: base + "gdtsearch/aggsInfo/save", // 保存图表配置

    // expData: base + "gdtsearch/bigdata/expData", // 导出报告
    expData: base + "gdtsearch/bigdata/commonAnalysisData", // 导出报告
    saveimg: base + "gdtsearch/bigdata/saveimg", // 保存图片
    updateAnalysisCacheData: base + "gdtsearch/bigdata/updateAnalysisCacheData", // 调用接口上传报告数据（图表图片+表格图片）
    exportAnalysisData: base + "gdtsearch/bigdata/exportAnalysisData", // 导出报告数据
    paperKeywordCooccurrence: base + "gdtsearch/paper/paperKeywordCooccurrence", //共现网络
    paperKeywordCorrelation: base + "gdtsearch/paper/paperKeywordCorrelation", //相关性分析

    analysis_ana_trend: base + "gdtsearch/analysis/ana_trend", // 技术趋势
    analysis_ana_life_patent: base + "gdtsearch/analysis/ana_life_patent", //技术生命周期
    analysis_heatMap: base + "gdtsearch/analysis/heatMap", //热力图
  },

  // 技术对比
  comparison: {
    companyPk: base2 + "companyes/pack/index", // 初始化，获取当前公司数据
    ipcGroup: base2 + "companyes/companyPk/ipcGroup", // 专利量
    // patentValueCheck: base2 + "companyes/pack/check", // 专利价值,查询后台是否有数据
    autoComplete: base2 + "companyes/company/keyword", // 查询补全
    historyList: base2 + "companyes/company/pkhistory/page", // 获取搜索历史列表
    getPkhistoryAdd: base2 + "companyes/company/pkhistory/add", // 添加搜索历史
    pack: base2 + "companyes/pack/index", //
    generateData: base2 + "companyes/company/info", // 进行数据生成
    fund: base + "patent-city/pk/fund", // 招商pk
  },
  //基本信息  companytrade/
  basicInfo: {
    info: base2 + "companytrade/company/invoke", //基本信息
    selectByName: base2 + "company-shard/company/selectByName", // 工商信息
    invest: base + "companyes/company/investPage", // 获取对外投资
    branchPage: base + "companyes/company/branchPage", //获取分支机构
    employees: base2 + "companytrade/company/employees", //主要人员
    commercialChange: base2 + "companytrade/company/change", // 工商变更
    // 员工离职信息
    companyDetail: base2 + "companyes/company/detail",
    ifJobHopping: base2 + "companyes/jobhopping/info",
    patentNum: base2 + "companyes/patent/search", // 离职人员信息（专利发明数量）
    position: base2 + "companyes/jobhopping/position", // 离职人员信息（原公司职务）
    Ownership: "/Prospectus/Ownership_Structure", // 股东穿透数据
    stock: base2 + "companytrade/company/stock", // 股东信息
  },
  //风控信息
  riskInfo: {
    info: base2 + "companytrade/company/risk",
    riskAnalysis: base2 + "companytrade/company/risk/score", // 公司风险分析
  },
  // 新闻信息
  news: {
    getData: base2 + "companytrade/opinion/new", // 获取新闻信息
    search: base2 + "companytrade/opinion/new/search", // 新闻搜索
  },
  compaines: {
    companie: base2 + "companyes/company/filter", //获取公司列表
    Logo: base + "company/logo", //  获取公司logo
    addSubOrg: base2 + "companyes/subOrg/add", //手动添加子机构到当前公司
    CalculatedData: base2 + "companyes/pack/repeat?", //重新计算公司数据
    invoke: base2 + "companyes/company/invoke", // 列表详情
    LogoAboutPat: base2 + "companyes/company/logo", // logo
    kind: base2 + "companyes/aggs/patent/analysis", // 相关技术聚类接口
    SingleKind: base2 + "companyes/aggs/patent/analysis", // 科技信息-专利情况-聚类
  },
  // 机构
  organization: {
    citySupAgency: base + "patent-city/city/supAgency", // 优势科研机构列表
    cooperate: base + "patent-city/city/cooperate", // 产学研合作情况
    conversion: base + "patent-city/city/conversion", //  成果转化潜力
    isComapny: base2 + "companyes/company/isComapny", // 是否是公司
    research: base + "patent-city/city/company/research", //  机构检索接口
  },
  // 科技评价
  evaluation: {
    kcOpponent: base + "patent-city/kc/opponent/batch", // 批量查询竞争对手
  },
  // 产学研
  production: {
    cityAnalysis: base + "patent-city/city/analysis", // 产学研协同趋势、核心机构产学研合作
    personArea: base + "patent-city/person/area", // 人才区域分布
    supPerson: base + "patent-city/person/supPerson", // xx领域xx区域核心人才
    personSpan: base + "patent-city/person/span", // xx领域xx区域双跨型人才
    personAttract: base + "patent-city/person/attract", // xx领域人才引进推荐
    docking: base + "patent-city/city/analysis", // 获取本市对接企业
    analysis: base2 + "companyes/aggs/patent/analysis", // 机构申请、公开趋势
    transform: base + "patent-city/agency/transform", // 机构详情 成果转化潜力
    teamwork: base + "patent-city/agency/teamwork", // 机构详情 产学研合作
    peoAnalysis: base + "patent-city/city/analysis", // 人才详情 申请、公开趋势
    patentList: base + "patent-city/city/patent/list", // 人才详情 申请、公开趋势 右侧表格、专利列表
    perRadar: base + "patent-city/person/radar", // 雷达图
    conversion: base + "patent-city/person/conversion", // 成果转化潜力
    research2: base + "patent-city/city/company/research2", // 产学研检索默认列表
    teamwork2: base + "patent-city/agency/teamwork2", // 产学研检索查询
    parSearch: base + "patent-city/par/search", // 产学研检索查询-模糊查询
    parTeamwork: base + "patent-city/par/teamwork", // 产学研检索查询-成果已合作
    parTeamwork2: base + "patent-city/par/teamwork2", // 产学研概览-合作公司
    Match_up: base3 + "finance/Match_up", // 产学研检索-潜力合作
    searchGaoxiaoJigou: base + "patent-city/par/searchGaoxiaoJigou", // 科研机构-机构检索
    // personnelSearch: base3 + 'personnel/Search', // 人才检索-查询人才列表
    personnelSearch: base + "patent-city/expert/page", // 人才检索-查询人才列表
    personnelCompanySuggest: base3 + "personnel/Company_name_suggest", // 获取公司名称建议
    personnelIntroductionByPid: base3 + "personnel/Introduction_by_pid", // 根据人才ID查询介绍
    patents_by_pid: base3 + "personnel/Patents_by_pid", // 根据人才ID获取专利列表
    getPatentCountByName: base + "patent-city/par/getPatentCountByName", // 根据name获取doc_count
    getTypeByName: base + "patent-city/par/getTypeByName", // 查询是公司还是机构
    companyScore: base2 + "companyes/company/score", // 科研机构-机构概览 科研星级
  },
  // 产业链
  industrial: {
    getTop10: base + "patent-city/industry/getTop10IndustriesByCityCode", // 获取指定城市top10产业
    getLowerIndustryByCode:
      base + "patent-city/industry/getLowerIndustryByCode", // 根据产业code获取下级产业
    getUpstreamIndustries: base + "patent-city/industry/getUpstreamIndustries", // 获取指定产业的上游产业
    getCompaniesByIndustryCode:
      base + "patent-city/industry/getCompaniesByIndustryCode", // 根据产业code获取相关企业
    getPatentNum: base + "patent-city/industry/getOverviewOfCity", // 获取指定城市专利总数，或全国专利总数
    getUpAndDownstreamIndustries:
      base + "patent-city/industry/getUpAndDownstreamIndustries", // 获取产业上下游
    getLowerIndustryAndCompInfoByCode:
      base + "patent-city/industry/getLowerIndustryAndCompInfoByCode", // 获取指定产业的下级产业并查询查否有公司
    getIndustryRelation: base + "patent-city/industry/getIndustryRelation", // 获取产业链之间的关系
    getProductInfoByCode: base + "patent-city/industry/getProductInfoByCode", // 根据code获取产业对象
    industryList: base + "patent-city/industry/industryList", // 产业集群招商-搜索
    // '/getOverviewOfCity'
    RootNodeList: base + "gdt/energyLabelMap/getRootNode", //产业链获取根节点
    allNodeList: base + "gdt/energyLabelMap/getAllNode", //产业链获取全部节点
    childNodeList: base + "gdt/energyLabelMap/getChildNode", //产业链获取下一级
    companyList: base + "gdt/energyLabelMap/getCompaniesByIndustryCode", //产业链企业列表
  },
  // 技术链
  technology: {
    allNodeList: base + "gdt/energyLabelMap/getTechnologyNode", //技术链获取指定层级的数据
    childNodeList: base + "gdt/energyLabelMap/getTechnologyChildNode", //技术链获取下一个节点
    //companiesList: base + 'gdt/energyLabelMap/getCompaniesByTechnology', //技术链获取企业列表
    companiesList: base + "gdt/energyLabelMap/getCompaniesInfoByTechnology", //技术链获取企业列表
    patentList: base + "gdt/energyLabelMap/getPatentByTechnology", //技术链获取技术溯源专利列表
    textList: base + "gdt/energyLabelMap/getTextByKeyword", //技术链技术溯源名词解释
    //personnelList: base + 'gdt/energyExpert/listPage', //技术链获取专家列表
    personnelList: base + "gdt/energyLabelMap/getAuthorInfoByTechnology", //技术链获取专家列表
    companiesAndPersonnelList:
      base + "gdt/energyLabelMap/getCompaniesAuthorByTechnology", //技术链首页弹出层 列表
    getAuthorInfoById: base + "gdt/energyLabelMap/getAuthorInfoById",
  },
  // 行业政策
  policy: {
    list: base + "gdt/energyStrategyAndPolicy/queryPage", // 行业政策列表
    detail: base + "gdt/energyStrategyAndPolicy/getById", // 行业政策详情
    export: base + "gdt/energyStrategyAndPolicy/export", // 行业政策导出
  },
  // 技术分析
  technicalAnalysis: {
    techniqueDevelopmentTrend:
      base + "gdt/technicalAnalysis/techniqueDevelopmentTrend", // 技术发展趋势
    technologyGlobalDistribution:
      base + "gdt/technicalAnalysis/technologyGlobalDistribution", // 技术全球分布
    technologyEntityRanking:
      base + "gdt/technicalAnalysis/technologyEntityRanking", // 优势研发主体排名
    technicalDomainDistribution:
      base + "gdt/technicalAnalysis/technicalDomainDistribution", // 技术领域分布
    technicalExpertsRanking:
      base + "gdt/technicalAnalysis/technicalExpertsRanking", // 领域权威专家排名
    getRecommendSchool: base + "gdt/technicalAnalysis/getRecommendSchool", // 合作推荐
    teamworkPotential: base + "patent-city/par/teamworkPotential", // 合作推荐
  },
  // 能源技术
  energyTechnology: {
    getIPC: base + "gdt/technicalAnalysis/getIPC", // 获取ipc
  },
  // 能源专家
  EnergyTalent: {
    listPage: base + "gdt/energyExpert/listPage", // 能源专家列表
    collectExpert: base + "gdt/collectExpert/collectExpert", // 收藏
    cancelCollectExpert: base + "gdt/collectExpert/cancelCollectExpert", // 取消收藏
    isCollect: base + "gdt/collectExpert/isCollect", // 是否收藏
    getExpertIntroduction: base + "gdt/energyExpert/getExpertIntroduction", // 简介详情
    team: base + "gdt/energyExpert/team", // 公司核心团队
    patentListByExpert: base + "gdt/energyExpert/patentListByExpert", // 根据pid获取专利
    topNews: base + "gdt/energyExpert/topNews", // 今日明星新闻
    topExperts: base + "gdt/energyExpert/topExperts", // 实力大咖
  },
  //动态资讯
  consultModule: {
    dynamicColumn: base + "gdt/energyStrategyAndPolicy/dynamicColumn", // 获取左侧菜单项
    consultList: base + "gdt/energyStrategyAndPolicy/dynamicQueryPage", //查询列表
    export: base + "gdt/energyStrategyAndPolicy/export", // 一键导出
    detail: base + "gdt/energyStrategyAndPolicy/getById", // 资讯详情
    translat: base + "gdt/translat/text", // 资讯详情
    queryDataSetField: base + "gdt/energyStrategyAndPolicy/queryDataSetField", // 获取字段组合检索信息
    querySpecialColumn: base + "gdt/energyStrategyAndPolicy/querySpecialColumn", // 获取自定义专题列表
    deleteSpecialColumn:
      base + "gdt/energyStrategyAndPolicy/deleteSpecialColumn", // 删除某个自定义专题
    multiFunctionQueryPage:
      base + "gdt/energyStrategyAndPolicy/multiFunctionQueryPage", // 动态资讯多功能查询
    addSpecialColumn: base + "gdt/energyStrategyAndPolicy/addSpecialColumn", // 动态资讯--存为专题栏目
    queryDynamicAggList:
      base + "gdt/energyStrategyAndPolicy/queryDynamicAggList", // 获取关键词列表
  },
  // 行业观点
  industryPointOfView: {
    getDeteilsById: base + "gdt/energyStrategyAndPolicy/getDeteilsById", // 根据id查询详情
    opinionSuggest: base + "gdt/energyStrategyAndPolicy/opinionSuggest", // 详情页-相关推荐
    translat: base + "gdt/translat/text", // 资讯详情
    opinionQueryPage: base + "gdt/energyStrategyAndPolicy/opinionQueryPage", // 综合搜索
  },
  // 产业技术链
  chain: {
    dictAll: base + "upms/dict/type/all", // 获取字典
    chainCount: base + "gc/industry_chain/count", // 获取首页统计
    searchRelNews: base + "gc/news/searchRelNews", // 获取相关资讯
    patentRelNews: base + "gc/patent/searchRelNews", // 获取相关技术专利
    enterpriseRelNews: base + "gc/enterprise/searchRelNews", // 获取相关机构企业
    authorRelNews: base + "gc/author/searchRelNews", // 获取相关专家
    patentChart: base + "gc/patent/aggByCountry", // 获取相关技术专利Chart
    enterpriseChart: base + "gc/enterprise/aggByProvince", // 获取相关机构企业Chart
    authorChart: base + "gc/author/aggByCountry", // 获取相关专家Chart
    industryOverview: base + "gc/industry_chain/industryOverview", // 获取产业链统计信息
    queryChain: base + "gc/chain_node/queryChain", // 获取产业链
    queryNodesByKeyword: base + "gc/chain_node/queryNodesByKeyword", // 根据关键词查询产业链
    getCoreNode: base + "gc/chain_node/getCoreNode", // 获取中心节点信息
  },
  // 个人中心
  personal: {
    editUserInfo: base + "upms/user", // 编辑个人信息
    getSubscribeTags: base + "gdt/gdtOpenApi/vxGetSubscribeTags", // 获取资讯订阅标签
    saveSubscribeTags: base + "gdt/gdtOpenApi/vxSubscribe", // 保存资讯订阅标签
    getSubscribeList:
      base + "gdt/energyStrategyAndPolicy/vxGetSubscribeQueryPage", // 获取资讯订阅标签列表
    messageList: base + "gdt/subscribeMessage/listPage", // 消息中心列表
    messageRead: base + "gdt/subscribeMessage/read", // 消息中心--消息标为已读
    messageReadAll: base + "gdt/subscribeMessage/allRead", // 消息中心--全部消息标为已读
    enterpriseSub: base + "gdt/subscribeEnterprise/add", // 订阅--企业订阅
    enterpriseIsSub: base + "gdt/subscribeEnterprise/isSub", // 订阅--企业是否订阅
    enterpriseList: base + "gdt/subscribeEnterprise/listPage", // 订阅--企业订阅列表
    canalSubEnterprise: base + "gdt/subscribeEnterprise/canalSub", // 订阅--企业取消订阅
    chainSub: base + "gdt/subscribeIndustryChain/add", // 订阅--产业链订阅
    chainIsSub: base + "gdt/subscribeIndustryChain/isSub", // 订阅--产业链是否订阅
    chainList: base + "gdt/subscribeIndustryChain/listPage", // 订阅--产业链订阅列表
    canalChain: base + "gdt/subscribeIndustryChain/canalSub", // 订阅--产业链取消订阅
  },
  //个人中心
  center: {
    changePassword: base + "gdtsearch/edit/password", //修改密码
    changeUser: base + "gdtsearch/user/edit", //修改用户基本信息
    getUser: base + "gdtsearch/users", // 获取用户基本信息

    reports: base + "gdtsearch/bigdata/reports", // 报告下载历史
    reportDownload: base + "gdtsearch/bigdata/download", // 报告下载
    reportDel: base + "gdtsearch/bigdata/del", // 报告删除

    addComment: base + "gdtsearch/comment/add", // 新建建议
    updateComment: base + "gdtsearch/comment/update", // 修改建议
    delComment: base + "gdtsearch/comment/del", // 删除建议
    patentCommentListPage: base + "gdtsearch/comment/patentCommentListPage", // 建议-分页查询
  },
};

module.exports = URL;
